package ModelLayer;
import java.sql.Date;

public class Invoice
{
	private int id;
	private Date paymentDate;
	private double amount;
	private int orderID;
	
	public Invoice()
	{
//		intentionally left empty
	}
	
	public Invoice(int id)
	{
		this.id = id;
	}
	
	public Invoice(Date paymentDate, double amount, int orderID)
	{
		this.paymentDate = paymentDate;
		this.amount = amount;
		this.orderID = orderID;
	}
	
	public Invoice(int id, Date paymentDate, double amount, int orderID)
	{
		this.id = id;
		this.paymentDate = paymentDate;
		this.amount = amount;
		this.orderID = orderID;
	}
	
	public int getId()
	{
		return id;
	}
	
	public void setId(int id)
	{
		this.id = id;
	}

	public Date getPaymentDate()
	{
		return paymentDate;
	}
	
	public void setPaymentDate(Date paymentDate)
	{
		this.paymentDate = paymentDate;
	}
	
	public double getAmount()
	{
		return amount;
	}
	
	public void setAmount(double amount)
	{
		this.amount = amount;
	}
	
	public int getOrderID()
	{
		return orderID;
	}
	
	public void setOrderID(int orderID)
	{
		this.orderID = orderID;
	}
}